package com.gimi.cloud.jimi.merchantZone.consumer.service.store;

import org.springframework.web.bind.annotation.RequestBody;

import com.gimi.cloud.jimi.common.utils.reqhead.Response;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by shazhiwei on 2017/12/20.
 */
public interface StoreService {
	Response addStore(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws Exception;

	Response storeList(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws Exception;

	Response allStoreList(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws Exception;
   
	Response storeSingle(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws Exception;

	Response storeAuth(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws Exception;

	Response updateStore(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws Exception;

	Response deleteStore(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws Exception;

	Response fileUpload(HttpServletResponse response, HttpServletRequest request) throws Exception;

	Response addMerchantStore(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws Exception;

	Response merchantStoreAddList(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws Exception;

	Response merchantStoreList(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws Exception;

	Response deleteMerchantStore(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws Exception;
}
